package com.example.zytj.model;

import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import org.springframework.stereotype.Component;

import lombok.Data;

@Component
@Data
public class ConsumeLog {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String cardNo;
    @TableField(fill = FieldFill.INSERT)
    private Date inTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date outTime;
    private Integer readRoomId;
}
